﻿CREATE TABLE [dbo].[SubRubrosArticulos] (
    [IdSubRubroArticulo] INT           IDENTITY (1, 1) NOT NULL,
    [IdRubroArticulo]    INT           NOT NULL,
    [Nombre]             VARCHAR (50)  NOT NULL,
    [Observaciones]      VARCHAR (500) NOT NULL,
    CONSTRAINT [PK_SubRubrosArticulos] PRIMARY KEY CLUSTERED ([IdSubRubroArticulo] ASC),
    CONSTRAINT [FK_SubRubrosArticulos_RubrosArticulos] FOREIGN KEY ([IdRubroArticulo]) REFERENCES [dbo].[RubrosArticulos] ([IdRubroArticulo])
);

